<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="js/jquery.cookie-1.4.1.min.js"></script>
    <script>
        $(function () {
            var COUNT_URL="http://localhost:8080/users/chaxun/";
            var userno=$.cookie("userno");
            $.ajax({
                type:"POST",
                dataType:"JSON",
                url:COUNT_URL+userno,
                statusCode:{
                    200:function (data) {
                        $("#number").html(data);
                    }
                }
            })
        });
    </script>
</head>
<body>
本月你共签到<span id="number">0</span>次
</body>
</html>